export class News {
    /**
     * 构造函数
     * @param title
     * @param content
     */
    constructor(title, content) {
        this.title = title;
        this.content = content;
    }

    /**
     * Getter、Setter
     */
    getTitle(){
        return this.title;
    }

    setTitle(title) {
        this.title = title;
    }

    getContent(){
        return this.content;
    }

    setContent(content) {
        this.content = content;
    }
}